from data_processing.level_filter import filter
from data_processing.algorithm import algo
from data_processing.config_pre_process import data_pre_process

# 按间距中的绿色按钮以运行脚本。
if __name__ == '__main__':
    left, right, rating, output_type = data_pre_process()
    if rating != -1:
        filter(left, right)
        algo(left, right, rating, output_type)
